﻿using System;
using System.Net;
namespace GSE.Network.UDP
{
    public class ConnectionResetException:Exception
    {
        public new string Message = "Connection reset by remote peer: ";
        public ConnectionResetException(string remoteAddrr)
        {
            Message += remoteAddrr;
        }
    }

    public class ConnectionCloseException : Exception
    {
        public new string Message = "Connection is closed: ";
        public ConnectionCloseException(string remoteAddrr)
        {
            Message += remoteAddrr;
        }
    }
}
